package com.geek.factory.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.geek.factory.dto.DeviceRepairLogDTO;
import com.geek.factory.entity.DeviceRepairLog;
import com.geek.factory.mapper.DeviceRepairLogMapper;
import com.geek.factory.service.DeviceRepairLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DeviceRepairLogServiceImpl extends ServiceImpl<DeviceRepairLogMapper, DeviceRepairLog> implements DeviceRepairLogService {

    @Resource
    private DeviceRepairLogMapper deviceRepairLogMapper;

    @Override
    public List<DeviceRepairLogDTO> getAllWithLineName() {
        return deviceRepairLogMapper.selectWithLineName();
    }






}
